<c:set var="menuId_" value="${param._menuId}"/>
<c:set var="subMenuId_" value="${param._subMenuId}"/>
<c:set var="optionId_" value="${param._optionId}"/>

<div id="menuprin">
      	<c:set var="tempActivar" value="0"/>
      	<c:set var="tempActivarColor" value="0"/>     	
		<c:forEach var="menuHead" items="${s_menuHeadList}">
	 		<c:forEach items="${menuHead.submenuCollection}" var="submenu">
	 			<c:if test="${submenu.submenuPK.menuId == menuId_ && submenu.submenuPK.submenuId == subMenuId_}">
	 				<c:forEach items="${submenu.optionCollection}" var="option">
						<c:if test="${option.name == 'default'}">
							<c:set var="tempActivar" value="1"/>
						</c:if>
			        </c:forEach>
   				</c:if>
	        </c:forEach>
		</c:forEach>     	
      	<c:if test="${tempActivar !=1}">
       	<div class="menuIzqMarco">
        	<div class="menu_css">
			   	<h3 class="title">Seleccione</h3>
	            <div class="menu_selected menu_selectedDepen">
	                <ul class="menuLogoNone">
						<c:forEach var="menuHead" items="${s_menuHeadList}">
							<c:if test="${menuHead.menuId == menuId_}">
       							<c:forEach items="${menuHead.submenuCollection}" var="submenu">
       								<c:if test="${submenu.submenuPK.submenuId == subMenuId_}">
	       								<c:forEach items="${submenu.optionCollection}" var="optionMenu">
	       									<c:set var="tempActivarShow" value="0"/>
         									<c:if test="${(not empty optionMenu.accessCollection)}">
         										<c:set var="tempActivarShow" value="1"/>
         									</c:if>										        
	       									<c:if test="${tempActivarShow == 1}">
		       									<li class="${(optionMenu.optionPK.optionId != optionId_)?'':'pintar'}">
		       										<span><a href="<spring:url value="${optionMenu.url}?_menuId=${menuHead.menuId}&_subMenuId=${submenu.submenuPK.submenuId}&_optionId=${optionMenu.optionPK.optionId}" htmlEscape="true" />">${optionMenu.name}</a></span>
		       										<span class='end'></span>
		       									</li>	
	       									</c:if>
								        </c:forEach>
									</c:if>
					        	</c:forEach>
					        </c:if>
						</c:forEach> 
					</ul>
	            </div>
            </div>
        </div>
	</c:if>  
</div>
	
	